Bugfixes and clean-up in `OctreePointCloudAdjacency`

This pull request fixes several linker errors, a compiler error in C+11 mode, and cleans up the header file. Please see individual commit messages for details.