Revert "Try completely different linker flags"

This reverts commit fcbc5037a8ee1fff20687710a5be8fef0a8d83e3.
i have no idea what i'm doing dog