Fix the confusion of libraries path.