Fix lib path

The proper syntax for lib is "~~lib/...", not "~~/lib".  The later
only works if the file in question is in $prefix/lib, which is not
always the case.