running thrift regen for install and build_py commands as well