trouble with library dependency when main package depends on -libs subpackage