(PSP) fix linking errors.
add alternative for glob.c ( source: http://code.google.com/p/bennugd-
glob.c)