Revert "Fix obscure problem with using the system linker (#8935)"

This reverts commit 72bd832eb87975c504654a65f9c88daaa478f677.

Signed-off-by: Austin Seipp <austin@well-typed.com>