Fix Xcode build

Set dylibs to point to /usr/local/bin and add correct dylib references to targets.