Fixes in jpackage configure