Fixed problems with build tar-ball script. Cleaned up automake.