Improvements and fixes to installer generation on Linux