fixed project settings for Mac OS X tests to have base SDK as Mac OS X ...

...and changed rakefile to use xcodebuild for running tests via command line