Fixed library link order for LCM unit tests.