build: fix libceph-common detection