Ensure 'javapackage' typemap is used as it stopped working from version 2.0.5