Eschew 'ifdef/ifndef DEBUG' in favor of the "standard" NDEBUG.
Added cmake option to enable/disable RTTI.