Reorder subdirs in Makefile so they build in the correct order.

Signed-off-by: Sam N <snovak@uwsp.edu>