Learned about STL debug define.

Defining _GLIBCXX_DEBUG earlier would have saved a few hours.