generate import library