(Libretro) Clean up Makefile wrt static linking