Minor changes for autotools

Also the NULL in xcb_present_pixmap was throwing warnings.