Fix debug build of Java warppers