Update deps and fix things

Note that to compile the canvas library (one of the dependencies) on OS
X with XQuartz, you'll need this:

    export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig