Fix mac specific code for version number