Update libraries and fix warnings and others problems.