Avoid variable length check for existing symbols (performance optimization of install).