Added some simple platform detection
Merge pull request #22 from griff/feature/platform_detect

Added some simple platform detection