thermal: potential compile fix