Add Hamcrest library to fix build errors