unix:configure: Add some libraries needed to detect X11 in some cases