fix linker library order