fix linker options