make search path safe for older installations