fix: add boost defs
fix: proper ptr conversion