Fix build with ghc-7.6.2.

This might not work everywhere/break everything.