Fix: add missing header for std::string
Ignore Mac OS X's .DS_Store
Set XCode's C++ version as C++11
Add some fixes when building on command line OS X
Some libraries depend on some extra symbols built as shared on OS X