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

JMZ: use HAVE_UNISTD_H rather than !_WIN32
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