fix linker options.