Compile in_heapfrag() only in debug mode