Fix breakage in standalone library generation.