added sw_sync.h for libsync build