Build workaround for nvcc in Malloc.h