Fix namespaced Qt4 build