brew --prefix retruns a fully qualified path, so using -L/$prefix results in a path with two leading '/'.