Generate lib in ../lib