Fix build with qt4's moc & boost 1.57

This is a common workaround to make sure moc doesn't see
preprocessorvariables it doesn't like in boost...
Merge pull request #2 from v4hn/moc-boost-1.57

Fix build with qt4's moc & boost 1.57