[contactsd] Add some missing build requirements
[contacts] Remove confusing diff from Qt 4-to-5 port.