Waf configure fails

I think this is the same issue and fix as reported here: Build problem in cygwin: /usr/bin/env: ‘python’