[libcontacts] Fix qt4 build
Merge pull request #5 from matthewvogt/qt4-fixes

[libcontacts] Fix qt4 build