Added prelim iOS building functionality.

Also included some directory shuffling as a result.