More autotools cleanups

Signed-off-by: Ikey Doherty <ikey@solusos.com>