Backported fix for #190 to stable

Some people still need compatibility with old iOS and use current Xcode versions at the same time. To accomodate this, I backported the fix to #190 to the stable branch / version 0.9.