Migrated from #75
Map files will fail to open on android as the NDK doesn't support opening files with fstream. Potential fixes are to either rewrite the file IO using fopen(), create a custom stream for android builds, or provide an interface so users may supply their own file streams.