Fixes #1052--change cache on every build