Fix qt macosx debug build.