port internal library must be static.