Add more sophisticated rules for building an ARM build with Makefile.libretro