Removed generated files
Fixed autoconf depreciation
Added X11 to libs