Extract version number to file used by both Android and CMake scripts