Specialize std::num_get / std::num_put for debug build

configure.ac: Add std::num_get / std::num_put specialization
src/U16InputStream.h: Include config.h before sstream