updated Makefiles to support partial test builds