making it build on VC++

though not link yet