Java6-compatible build.