ccache: applied a number of patches from the ccache-win32 issue tracker