fixed freebsd errors

Fix for [Issue 36](https://github.com/libretro/libretro-super/issues/36).