Remove hamcrest dependency from main jar