Corrected linux check