Add extension to autotools build

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