cython: set platforms