tools: make mongoc-stat an installable tool.
stat: fix shm_open() on OS X.