Add compatibility for older ubuntu versions