fix static library generation