add flags for X11 libraries