Fixes static links