Fixing missing/inconsistent libs