fixing compiler directives