Fixed bug in glob function parameter that breaks program on linux