fix windows build after depslog
add ifdef around console_
fix test
Merge pull request #535 from sgraham/fix-windows-depslog

fix windows build after depslog