Fix build with ansi C enabled
This was just changed in kdelibs to be also enabled for Windows so this is neccessary now.