Remove uses of boost from public C++ API

Closes #26