Move sdk_path_prefix lookup into `link`

- So it doesn't get invoked during cookbook compilation where
  where brew may not be installed yet.