Fix syntax error found by newer compiler. Correctly log non-POD types.