Fixes templating in gem build