Eliminate memset in VS2012 compilation