fixing lib path for macosx