Old options style fix

Hi,
with the `v0.2.0` update a new style of task options was introduced. With the old style, all platforms were being built, although some might have been set to `false`. Here is a fix which checks for platforms being set to `true`.
I've also added the `osx` platform type to prevent potential confusion.