more minor fixes
use automake