Switch to alternative library for faster encoding.