added missing linker flag