Use build tags instead of checking platform at runtime.
Merge pull request #3 from sorcix/master

Use build tags instead of checking platform at runtime.