Fixes compilation errors, following latest changes to dwc-api, see https://github.com/gbif/dwc-api/commit/915739bffc8e43058c5466f3bcdc1da0fb2a21c3