Fix for UIApplication callbacks when building with RoboVM nightlies