Added configure script and dependencies to make it possible to build without requiring autoreconf on the system.