Fixed compilation on Linux