Changes to support ARM

This includes the flashlight and upnpc builds for ARM.