Use imp instead of importlib on Python <= 2.6