platforms.darwin and platforms.linux are both lists. They need to be concatenated, otherwise they're not recognized as supported platforms.