hydrogen now compile in MacOS

Few compiler-specific changes in protocols.h/cc
Add build properties for pingpong test