Make it compile with Qt 5.4 and probably a newer clang/XCode.