Runs cmake just after CMakeLists file generation and uses os.path.join where possible