2to3 conversion for 'waf configure'