use antlr_auto_ptr instead of std::auto_ptr to fix build error with c++11 compiler