Added sys/stat.h to src/File.cpp to get fstat and st struct
Removed include libavcodec/opt.h, doesn't exist