Add missing #defines for Android.

`S_IREAD` & `S_IWRITE` are deprecated.

Signed-off-by: Shannen Saez <shannenlaptop@gmail.com>
Merge pull request #327 from shancat/master

Add missing #defines for Android.