Autodetect strip parameter for the patch operation

Some patches require an other option than p0. This one will auto detect the right one. ;)