Adds libraries and source.