[ASan] fixes for Android build