Fixed ./cataclysm-launcher to work in non-bash environments

fixes #4705