Fix when try_files = undef

Using `@try_files` instead of `has_variable?` so undefined `try_files` won't throw an error.