Attempting to resolve #1113: Fast compilation of logging causes ABI incompatibilities between different NDEBUG values