Fixed autotools

Installing using autotools is now working.