wrappers/c_sync: Add dllexport to sync API - fixes #315

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>