fix missing libraries