Fix proof-of-work check for Windows