Fixed cmake config file generation