fix md5 check on OSX