fix compile issues with gcc
fix valgrind issue
playing with protoc