Fix to compile with XCode6.