GHC 7.7 compatibility

==# now returns Int#, not Bool