Make the configuration more rigorous. Search now includes std::isfinite, isfinite macro and finite macro.