Fix problem with path of cm resources.