fixes install name id on OSX builds (fixes issue 367)