Fix release compile