fix building with maven