changed try_run to try_compile