all: support building without the linker shim
This is only required when building for install in a distro; when building a library to be linked against by portable executables, it's not needed, and can cause problems with readlink() when the configured path doesn't exist.