update links to point at mapbox
fix compile with clang/libc++ on OS X (now default on OS X 10.9)
maintain support for gcc on OS X <= 10.8