Fixed two SunOS checks