resolve Hash.cpp compile error on Android