Fix debug level, add 2.6 config
Fix warnings due to missing constants