use PHP_OS rather than  to guess platform
Merge pull request #6 from lornajane/platform-detect

Use PHP_OS rather than  to guess platform