travis, distcheck rewrite