fix 10.8 sdk support