Compile fix for pre-10.8 SDK