stdenv: added escaping for patches