Removed compiler warnings on Windows