Use File::FNM_DOTMATCH only in ruby 2.0