Tweak mac and windows /lib build patterns.