Fixed build on VS2010, VS2012, VS2013