For compilation on VS2008