There was a spurious copy of the Cache.hpp file in the src directory that was shadowing the correct one.