Fixed dependency order in build system
Subscribers: kdevelop-devel
Differential Revision: https://phabricator.kde.org/D3554