use forward decls in protobuf and create static sgproto lib
fix
fix