Changes necessary for making kdepim work on Windows.