Compatibility with iOS compiler. Fixes #12