Add test targets.
On MacOS 10.9 our clang will not find the stdlib. Use the XCode's clang instead.