Finally fixed the tiapp.xml stuff so that it works on both platforms.