Link against Xlib, fix #includes for happyhttp