Make compatible with new versions of ruby and jekyll