fix potentially unbound MASON_PLATFORM arg in build