Update to handle libserialize as external lib