change ccache dir and remove unused var