build: use autotools to build project

To build for the first time use
autoreconf --install
./configure
make

After that you just need to make