move proto submodule to lib/ directory
automatically build proto.c file