osx_static fallback patch