Fix compilation order for tests and JUL lib

Signed-off-by: David Goulet <dgoulet@ev0ke.net>