change linker flag order for picky machines