Fixed several compiler warning on Linux
p4#: 22370