AttachmentUpdateJob needs to be exported even without BUILD_TESTING
Differential Revision: https://phabricator.kde.org/D20075
(cherry picked from commit 23446e9e0190460c234a5f2fa89401b0c993da3d)