Fix derby build