version check for osx