fix detecting osx version when only 10.9 is used, update #1975