Changes to support Kakadu >=7.3.1. You need to set KAKADU_VERSION at build-time