fix build libopensync 0.22