changed build architecture to work with ios8