Automagically include the right libs.