Set encoding for build
Updated for penguin-client API changes