Bug fix for include_glob xmalloc success check on Windows.