Use auto_ptr instead of unique_ptr ...

std::unique_ptr requires libc++ on OS X, which again requires
-mmacosx-min-version=10.7. Since there's still some OS X 10.6 users
on Steam, we work around this by just using std::auto_ptr instead.