Use c++11 on ios.  Load statics from lib directory