Add support for one-jar.