Fixed unable to build on maven