[add] windows support in binding.gyp
[fix] ifdefs for windows (time.h)