Use HOMEBREW_PREFIX and the correct value will be interpolated in.