use correct library names in generated code