Added missing linker flags.