fixing qt compile with clang, (OS X)