Only use std::isfinite on windows for for MarchingCubes.cu.