Replace autoconf-buildsystem with pkg-config/Makefile
The existing build-system was too complicated for me, and I was unable to fix a compile bug in Ubuntu 14.04. In preparation for this fix, the buildystem now is as easy as possible (and hopefully still portable enough).