[telepathy-qt] Fix build with Qt 5.2

Patch from Albert Astals Cid <albert.astals@canonical.com>
Bug: https://bugs.launchpad.net/bugs/1267835
Merge pull request #4 from special/build-qt52

[telepathy-qt] Fix build with Qt 5.2