modified project configuration to allow library to be used in tests

previously, the installation directory was based on @executable_path, which
is fine if we're linking to an executable like appium, but doesn't work
when linking with tests. changed to @loader_path
Merge pull request #49 from chayden/master

modified project configuration to allow library to be used in tests