Fixed autotools build process