Changed @loader_path to @executable_path on MacOS