Merge pull request #1 from eile/master

CMake cleanups
Fix building with older libvncclient versions (e.g. on Ubuntu 12.04).
Merge branch 'master' of https://github.com/marlam/eqvnc