Fix the build with clang and Qt4