libzip modified to build static library also