Convert libretro-extract program to CMake
[libretro-extract] Fix compile errors
Add .so objects to exclusion list