Added compile flags for iOS and ignoring glew if that is the case.
Cleaned up dependency on glew