packaging macOS: delay search for cmake
Only search for cmake binary after we set all the path variables.