Removed unused var
Updated xcode project for mac build