Move mono_get_optimizations_for_method to mini.c, since driver.c is only included...