Fixed compilation in Linux