Fixed problem with compilation-mode setup