fix ProGuarded OpenJDK build and LZMA-compressed jar support

See individual commit messages for details.