Declare the cache global variable static to make clang happy at high
warning levels.