windows compile fix for msvc2013
windows compile fix for msvc2013

cmacq2/kate,jfmcarreira/kate,cmacq2/kate,sandsmark/kate,sandsmark/kate,jfmcarreira/kate,jfmcarreira/kate,DickJ/kate,sandsmark/kate,sandsmark/kate,DickJ/kate,DickJ/kate,cmacq2/kate,DickJ/kate