Fixed linking derived jvm types from Java