refactoring compiler options