some fixes to the cmake files. It still is not working