Fix issues with sed. Fix typo in github url.