Add #include "config.h" directives where needed.
- X11DRV and TTYDRV updated with new API SetWindowRgn