making it compile with xcode6-6