Fix makefile for tests: the copernica event and network libraries should not be linked