fixed testing libs linking problem.