Delete automake, added install, build fix

Removed files for automake, we generate them ourselves
Added an install script. Please do chmod a+x on it before running it
Build fix for version 2.4