fix for packed libs