fix macosx
try to fix linux_static builds