Move linker flag to the end