Lowercase platform variable when checking it in CLI.js

- Fixes #147 Rel #97