clear cache when compiler flags have changed

9 jobs for hash in 8 minutes and 48 seconds (queued for 4 seconds)