Use env vars to compile