make version.cmake Python3-aware