Workaround for static initialisation issue on MSVC 2012.