CMakelist fixes
Qt 5.0 compatibility