Fix build with maven 3.1.x