waf: make "update-waf" script work on Darwin too