Fixing the build tools discovery