fix jar building