Update python lookup in CMakeLists.txt to match build.(sh|cmd) (#22145)