Added isnan(), etc declarations for Apple