Fixed compilation on linux