waf: honor TARGET for windres prefix
waf: add missing Taskgen import