Fix release compile error