fix #3 do not wrap linux/stat.h in ifdef KERNEL