use `imp.C_EXTENSION`, not `3`.