Fixed compiling under OS X

* updated CMakeLists.txt for propper linking;
* updated qxtshortcut to support OS X.