Move hamcrest library into compile scope