Patch for FALCON-424

Adds support for oozie 4.0.1 and Java6 when building with Java7.