Allows to build the graphics library. As previous commits, quick'n'dirty.