Don't improperly format paths. This restores the previous behavior.
Patch by Julien Richard-Foy, thanks and sorry for the delays.
svn path=/trunk/KDE/kdepimlibs/; revision=1062666