Fix bundling for release mode / logging driven by web.config debug statement