Fixes issues with JAWTRenderer on Java 7 under OS X. Base on contributions by Ingo Bauersachs.