Add -Wall in CMakeLists.txt, reorder the declare order of netpack members