Move config.h inclusion to top of stubs.h