Redefine and test System.set and System.getForTesting.
System.set() takes a module.
System.getForTesting() is a backdoor, needed for test/unit once
we merge static and dynamic modules.
Drive-by: fix Makefile for runtime-related rules.