stat.h: completely separate config from impl

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>