fixed compiling for Android