Fix ‘javadoc: error - invalid flag: -target’ build error