Fixed Build Error with GHC 4.7.1

Fixes #41