fix linker flag