Autotools finally working