macosx10.7 compile

compiled under mac osx 10.7