Moved static library into one folder and dynamic library into another folder. Xcode prefers the dylib over the static library. I want to link with the static library.