Fix compiler flags.
Fix formatting of `UseDOGraphics.cmake`.
Reformatted code.
Add more compiler flags.