Fix build errors on Visual Studio from negating value of sizeof operator.