The gem needs ruby 1.9.2 and platform java.

Prefer require_relative except in the gemspec itself.

Add pkg to the clean path.