fix windows warnings, ignore empty file ones