Modify to fix for sublime2 on OSX 10.10

and compile with -std=1y while on it.
Merge pull request #11 from tryfinally/patch-1

Modify to fix for sublime2 on OSX 10.10