Adding Ubuntu compatibility