add _XOPEN_SOURCE 700 feature test macro to search.h tests