Change raven import to use compat lib