[gcc] Force linker arguments after objects.
TODO: fix tests