should be accesing platform from board instead of undefined
Merge pull request #18 from soldair/broken-upload

should be accesing platform from board instead of undefined