Don't compile modules graphic, ui and text in 3d.
Single target. Fix freetype in cmake.
SDL-image only for 2d.