Move system directory cache out of utils
Include stdarg.h for the va_copy test
Remove now-duplicated stdarg.h include
Merge pull request #2139 from ethomson/va_copy_warning

Include stdarg.h for the va_copy test
Merge pull request #2138 from ethomson/sysdir

Move system directory cache out of utils