fix: memory leak + include_glob issue on Windows