Adapt to Ubuntu