Move dependency resolving to subsystem CMakeLists
Add X11 render window and context creation