Calculate hash of native dll if zipped

If you add a native dll, the hash is calculated on the zipped file, these leads to always replacing the dll. If the process is already running this follows with an ` System.UnauthorizedAccessException` because it can't delete the dll. 
This fix adds the hash of the unzipped dll, which doesn't lead to that behaviour.