Allows using tilde or relative paths in $PREFIX, while still passing the
correctly expanded Prefix and ShareDir to the Go variables.
Signed-off-by: kt programs <firstname.lastname@example.org>
There is a possibility that this will not work on BSD (due to abspath
not being available), but I do not have access to a BSD system to test.