Configure dependent libraries.