Add OWNCLOUDSYNC_EXPORT to make building on windows.