Fix building a logging statement in debug code
Merge pull request #378 from mstorsjo/fix-building-debug-code

Fix building a logging statement in debug code