Fix flags so that they work for mac and non-mac.

Yep! (The -g -g  I was getting during debug builds was what led me to investigate it..) You'll find it specified in the <QtBase>/gcc/mkspecs/linux-cxx/qmake.conf file.