Add archive destination for cpd lib

Used when we don't build a shared library.