only statially compile on osx