THRIFT-2641 Improvements to Haskell Compiler/Libraries

some fixes
diff --git a/test/hs/run-test.sh b/test/hs/run-test.sh
index 46b8b2c..ecafc18 100755
--- a/test/hs/run-test.sh
+++ b/test/hs/run-test.sh
@@ -40,4 +40,4 @@
 fi
 
 printf "Running test... \n"
-runhaskell -Wall -i$BASE/lib/hs/src -igen-hs $TEST_SOURCE_FILE
+runhaskell -Wall -XScopedTypeVariables -i$BASE/lib/hs/src -igen-hs $TEST_SOURCE_FILE