waf/buildtools: remove more bash shebangs and fix a == to =