Fixed compilation error on linux