complier change to 1.8 and fit my mac