compilation for VS2008