cmake file now also installs correctly