Fit for GCC.

Add Makefile and sample.
Fix src/frontend/pb_frontend.cpp and src/util/util.cpp.