Explicitly link with the xcb library

fixes linking problems on some systems, and also fixes #1