Some Linux fixes.