Fixing CPLIB to not create dangling symlinks

Fixing CPLIB to not create dangling symlinks in /lib.