Added -stdlib=libc++ option.

Moved linux-only shell commands into travis script
Updated some comments