bug fixes git version when checking for Mac OS X and Windows