PHP: Force legacy version rebuild if exists.
Normalize newlines and spacing when fixing proxy config files.