Add NO_X11 option at compiletime to disable X11 specific stuff with SDL driver
just compile with $ NO_X11=1 make