change version detection on mac