iOS 8 and arm64 support

Some modifications in the build system allowing compilation of the support libraries (std, regexp, zlib, sqlite) for the currently XCode6 supported architectures, including 64 bits for the simulator.

Also modifications of the build flags to match current XCode 6 C++ compilation flags.