Remove obsolete lines in cmake config file