Fix API usage to Apache Commons, not Java 1.6.