configure: link with synchronization library when building for win8+