[win] Fix compilation errors for new block protocol.