Fix non-Android compile error.