Added a workaround for a stupid bug inside MSVC.