fix build problem for XCode5