Compatibility with Java 5

See https://github.com/tinkerpop/blueprints/pull/352

Note that I successfully built pipes with JDK 5.