- Prepare for supporting Xlib and Wayland (in the future), by having a option for 'use_xlib' - Fixed a few compile errors