added dependencies for building OpenJdk. Completed auto configure process for OpenJDK