Implement a simple string join to fix build

com.sun.deploy.util.StringUtils wasn't available on my mac,
don't want to add new dependencies.