Windows compatibility

glob.h is not compatible with Windows, so now Windows compatibility has
been established.