Work/osx qt5

Make Charm build against Qt 5 (5.2.0)