move import in cache.py to avoid module interdependencies; fallout from 0f5135e436 breaking test_llvm_nativizer