Add libraries and source files