Changed to generate static lib.