Use automake tools in lieu of waf for better debian build.

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