Added missing OS check