Change FREAD to ASF_FREAD to avoid a definition conflict on Darwin.