Temp workaround for broken versioning for OSX.
Merge pull request #351 from murrekatt/cmake_versioning_fix

Temp workaround for broken versioning for OSX.