waf: fix windows dependencies on some checks

woops ;)
waf: add support for windows resource compilation

Like all things Windows I make, this is completly untested.