Remove public inheritance of boost noncopyable.

Fixes #357