fixed jar build issues