Fix ImportError: cannot import name _checkers

The problem was a local variable `m` was being clobbered by importing
3rd party modules between the new location of MOD_DEF() and actual use.