enable --platform for compile command
Merge pull request #235 from dbankier/compile-q

enable --platform for compile command