fixup darwin builds by including local libs before lib