fixing cmake for building with Qt5

if anyone out there is using Qt5, let me know (+ if it's any better/worse/same as before)
Merge branch 'master' of github.com:acfr/snark