Fix extended-search on non-darwin env