Avoid dependency on Applicative (ST s) instance ...

... present only in GHC 7.2+.