Changed the way 3rd-party library targets are acquired to ease the inclusion of modular libraries