Using File::FNM_EXTGLOB only if it exists

Ruby 1.9.3 does not define File::FNM_EXTGLOB and it would then make
MemFs unusable with it. This commit fixes it.