compile: fix caching