fixes to get linux working