Can pass compile-mode as a flag.