Fix build failure when using clang for Android

clang for Android generates __gnu_linux__ define, but gcc for Android doesn't.  So we should add check it for Android
Merge pull request #46 from makotokato/android-clang

Fix build failure when using clang for Android