Revert "Fix compatibility with Android."

This reverts commit d0642a5da1744ef04b2f16dcb9935e41e0ee33de.