Fixed compiling with Maven 3.1.x