Loglevels: Fix CMAKE optimization flags
Loglevels: Fix NullStream declaration.