Solution: Fixed VS2010 builds.
auto_ptr<> is deprecated in favour of unique_ptr<> (we don't need to use shared_ptr<>).