[bcprov146] Add java source version to compile flags.