Fixed compatibility issue with XCode5.1