make ptr::is_compat<> static, to fix obscure compilation errs