vs: update projects to vs2010
add dummy unistd.h to unbreak windows build