Fix use of $ORIGIN in dynamic links

The great lengths to ensure $ORIGIN gets written into the runpath of the
dynamic libraries needs just one more escape character. Previously,
$$$$ORIGIN evaluates to $ORIGIN which was being evaluated by some step
in the chain to either the empty string or \0. Escaping the dollar sign
*one more time* allows the $ to be passed to the linker unmolested.