Try to correct some dependency errors; Include libraries api into install process