Eliminate dependency to boost from other than tests (close gh-23).