Protect headers from including boost in Qt moc run, it sometimes
produces invalid results.
https://bugreports.qt-project.org/browse/QTBUG-22829