Update Nomyx to work with ghc 7.8.

Fixing #41 .