Adapt to a change in Java8 API
Native installer on the mac now works (creating dmg)