Add linux fixes to brunel