use static linked lib of all public libs