Fixed ubuntu check