fix for macOS
Reviewers: arichardson
Reviewed By: arichardson
Subscribers: bcooksley, arichardson, yurikoles, kde-frameworks-devel
Tags: Frameworks
Differential Revision: https://phabricator.kde.org/D15479