fixing build to use java 1.5. Newer version does not work with collectd