Fix path issues for when publishing to gh-pages.