Build library files with the main project