include correct boost::*_ptr class

The code doesn't use shared_ptr, but uses scoped_ptr.
This breaks with boost 1.57.
Add missing include of scoped_ptr
Merge pull request #529 from v4hn/indigo-boost-1.57

indigo-boost-1.57