Use mason platform instead of CMake host, because the target won't always be the same arch as the host.