Move platform definition to header. Fixes #17
Merge pull request #20 from Mixaill/platform-def

Move platform definition to header. Fixes #17