compile finally works - I really need to learn autoconf/automake.... P.