Filter LD_PRELOAD from the environment when the host executes 'ping'.

This is a workaround for a 'ping' parsing bug in Guns Of Icarus.
Refactoring.