add linux and macos libs