Fix detection of Dojo 1.9+ so _AttachMixin will be patched.