[Hackage] #869: patch to make --enable-executable-dynamic work for TemplateHaskell