Fix XCode generation

Hi,

thanks for the premake4 stuff, just merged it and fixed it for Mac OS X/Xcode. Premake doesn't know xcode4, changed it to xcode3.