More specific detecting of Ubuntu OS. Closes #246.