Actually test the dependencies instead of depending on pkg-config (Fixes #28)

Ensure that the user didn't screw up when configuring paths manually by
trying to compile and link against both liballium and libevent.

This all is automatic if pkg-config is installed.  Apparently this is not
universal (though the FreeBSD port could just pull it in as a dependency).