Fix the static and dynamic libs location