Make compile and cleanup some KDE4LibsSupport usage.