Also, fix the use of AC_CACHE_CHECK in stat format checker. Signed-off-by: Alexey Neyman <stilor@att.net>