create_package.sh: fixes for all platforms