[core] Set Python and CMake locations