Unit tests: Fixed a library dependency order in the Makefile.