Add ifdefs to let it build under Ubuntu (Qt 5.2 and QtWebKit from Qt 5.1)