Lowercase platform variable when checking it in CLI.js

- Rel #97
- Cleans whitespace