Fix build following haskell98 and -fglasgow-exts changes