Use Rake to build gems.
Need to hard-code jar in gemspec.

rubygem-tasks seems to read the gemspec when evaluating the Rakefile.
At that time, the jar does not exist yet...
Add temporary workaround for 1.8.7 mode.
Rake runs tests per default.