Fixed cmake files for linux.