Update slow-hash.c and win32 bug fix