Define only least required macros for LFS in config.h.
Merge pull request #432 from TsudaKageyu/lfs-check

Define only least required macros for LFS in config.h.