Fixed compile with VS 2013

I'll leave it in there, sine this is a file from libtiled, which still supports Qt < 5.0.