Fix mingw warning: passing NULL to non-pointer argument.
Suppress warning: type uses the anonymous namespace.