Remove C++ guard before forwarder declarations.
Adjust PTHREAD...INITIALIZERS to use proper type.  For C++ this caused
issues for 4.9 gcc