configure: Group and sort function/struct/type checks