Break out the runtime linker hook into a separate module