Build debug for iOS since CMake scripts need it, dump symbols for iOS and Android (Android untested since it only works on Linux)

Change-Id: I7a6607b2b1151fed8d4f82f46d37ff30c693014f