Move link options to end of gcc command line