Fixes signing when building with JDK7