fix linux custom linker flags