Replace stdio.h to cstdio to fix FFmpeg pipe eror on OSX