Add -pthread to CFLAGS since it is needed to use the library.
Rename clsync.pc -> libclsync.pc

This is a libclsync library, so *.pc file should be appropriate.