Fixed building with libclsync and socket