[Hackage] #866: Problem linking to dll's