Reconfigured to use automake tools.

Signed-off-by: Adam Stark <llamadonica@gmail.com>