Fix gem installation with Xcode 5