core/linux fixes