make it compile on VS2012