Update polyglot dependency to version 0.3.5