improve linux compile scripts