fix libraries when exporting package dependencies
fix exported library names