Merge pull request #2 from libretro/master

merge
Fix build
Merge pull request #10 from r-type/master

fix build