For nhc98, import unsafeInterleaveIO rather than defining it here.