installer: automatically build a static installer when in the win32-static build env.