correct hidden directories and add new X11 libraries