Fix compilation on Mac OS which lacks _strupr, _strlwr, and _unlink
Merge pull request #1 from noa--/gridfs_macos

Fix compilation on Mac OS which lacks _strupr, _strlwr, and _unlink