static compilation works on osx