pre_compile hook should be first thing run