build a library that actually contains all required symbols