streamline SSH build and get "make distcheck" working for automatic builds