clean up RMF cmake files to fix windows build problem