Fix download issues on Linux