textproc/hs-pandoc: Fix dynamic linking problems