Fixed compiling for Android