add hamcrest-core to junit target classpath