Fixed build errors.
cmake: Moved video plat detection to env.cmake.
task: Shelled graph, very basic.
More brainstorming about tasks and main loops.
cmake: gcc-compat flags update.
Fixed pedantic build errors.

These snuck in while the build flags were wonky.
Shelled main-loop project.

This includes the common bit and the linux/x11-specific bit.