try to fix the buil

There is a known problem with sbt native packager and java see
https://github.com/sbt/sbt-native-packager/issues/240