Fixed path join for building with the right framework path on Mac OSX