(Libretro) Cleanup Makefile wrt static linking