Fix maven compilation error