Fix Windows build implementing NAN