support protobuf 2.6 and build protobuf-lite