Fix build errors and warnings in GHC 7.10.1
New constraints package has been released