patch fix windows build (second time)

fixed all review comments: https://github.com/jrosdahl/ccache/pull/39
please check it.