iOS doesn't have crt_externs.h available, so we fall back to the posix method.