Make external dylib references relative to BUILT_PRODUCTS_DIR

Hi Phillip,

I found your project, but had to make a few changes to get it to build and run on my 10.9 system. A few more pull requests will be on the way shortly.

Thanks!
- Paul