Log Message: Add build fix for cases where assert() is not a no-op. See also CPAN bug #40356 which confirms this.