some more attempts to fix compile bug on Android