replace auto_ptr with unique_ptr (creeped in from 2.3.x)
fix missing make_unique on c++11 compilers
store const* in glyph_t