Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).