fix debug/release scope

You can’t use debug or release by itself for a scope. The rules are
that a single debug will overide a release in CONFIG. You need to use
the CONFIG macro to make this rule happen correctly.