tblz: support buliding for macosx with xcode 3