fix compile error on android platform