waf: fix glob() win32 replacement check