add osx version check to premake