Fix import of compat module in python 3.3.0