waf: fix pthreads check on win32 again

Python doesn't do implicit returns. Too much Ruby is bad for my health :)