linux fixes #230