compile libcld2 statically