static build on mac osx, may have screwed linux