Fix to make non-assert mode compile.