added check for 10.8.5+