multi module compile finally works

Signed-off-by: Tom Everett <tome@criticalmass.com>