Make poolarch.h C++ safe

Fixes the previous commit.