fix windows build after depslog

A few minor fixes for the windows build post https://groups.google.com/forum/#!topic/ninja-build/5BCTnwDrKYo/discussion