Fixed Stellarium version handling issues in CMake