Fix install script

Because variable substitution happens before a bash "function" is
called, you have to enclose them in quotes. Otherwise an empty value
is treated as blank and the third parameter becomes the second.