Fix generation of slink.c in xcode project