Supporting older Xcode

reference : http://www.merowing.info/2014/06/behaviours-and-xcode-6/#.U7-hI9OSzEQ