Fix a mod generation error with boost >= 1.48

See:

https://bugreports.qt-project.org/browse/QTBUG-22829
Merge pull request #6 from ros/fix_qt_moc

Fix a mod generation error with boost >= 1.48