Dev/kwiver integration

This stuff belongs in a source file (probably `utils.cxx`). I really don't like having `ifdef`fery in headers (ABI insanity will follow).