cmake: Enable exceptions when building with KDE support