fixing missing linker flags in toolchain