feature detect for FNM_EXTGLOB for older Ruby. Fixes #15053