Autodetect strip parameter for the patch operation

Some patches require an other option than p0. This one will auto detect the right one. ;)
Indeed it's a very clever idea @GM-Alex. Let's merge!