Remove dependency on commons-lang.

Testing Done:
./gradlew clean build -Pq

Reviewed at https://reviews.apache.org/r/28021/