Make static osx 10.7 build work