Fixed compilation errors in the page cache code