Added a script to automake the build. Too lazy to create a proper makefile.