Check platform before assuming CROSS_COMPILE