Added build task for library.