update project files with new or deleted sources files
add HAVE_PTW32_HANDLE_T to preprocessor definition
<unistd.h> is Unix specific

see http://en.wikipedia.org/wiki/Unistd.h
fix undefined reference to `snprintf`

this may be deprecated in newer version than Visual C++ Express 2010
see : http://stackoverflow.com/questions/2915672/snprintf-and-visual-studio-2010
fix undefined M_PI on MSVC