Add os switch to 'fmemopen.c'.