Remove the X11 and HGL libraries from extralibs