darwin needs an explicit `-std=c++11` flag to compile as of the newest release. fixes #245 fixes #246
Co-authored-by: Max Howell <mxcl@me.com>