Mavericks Build Fixes

Added qt profile definitions for Mavericks to use libc++ and c++11.