added missing linker flags