Remove errors and missing libraries.