Fixes CMS not working in non-ROOT context.