Updated build with autotools: involved python and dist target and building with clang.