Fixed compilation error with disabled xrandr