remove default exception handlers in main()
fix a bug in build system where app does not work on iOS5 device

http://hipbyte.myjetbrains.com/youtrack/issue/RM-221

The compile flags for device are missing.
This bug was introduced by 2617e9a3e4a0d99041cad8631ea8b0ad72022ade