Disable static build for MSVC, add missing library link to imports
Few Windows portability fixes (NAN, utime)