Fixes for iOS (lime:next)

Adding OpenRead/OpenOverwrite and fixing preprocessor defines.