Improved ccache support