As the debian based linux distro uses 'alternatives' to allow selecting tools (i.e. compiler), hardcoding the CC compiler to arm-linux-gnueabihf-gcc may not point to the user selected default compiler. After discussion, it makes sense to only set the tools if you are crosscompiling.