modified compile linux script