Tidy-up: Include config.h via fg_internal.h only

I came across these extraneous-looking inclusions incidentally.  My main thought experiment is if fg_internal.h could or ought to auto-detect the autoconf/cmake variables such as HAVE_SYS_TYPES_H based on platform and/or compiler macros.