Fixed #5195: Fix issues for jsb compilation on android platform