[build] Build fix for VC2012