change compile mode