Satisfay both android and osx compilers