Support multiple OS.
Merge pull request #36 from fwalch/multi-os

Multi-OS support