CMake build working for IQmol

Fix CMake build. Tested in Qt Creator and command line on Yosemite.