Make Ubuntu compatible