Fixing broken JDK 6 build

See e.g. https://jclouds.ci.cloudbees.com/view/integrations/job/jclouds-karaf/225/console