Detect fmemopen() availability with cmake
Merge pull request #2 from AMDmi3/fmemopen

Detect fmemopen() availability with cmake