take existence of ccache in the system into account