build protobuf to work on travis.
fix the package script.