bugfix externals

fixed bugs when git was not uploading the osx executable in the
externals which had ~ character in their filename