dynconfig/wscript: python3 fix string.find instance