make: avoid non posix options in the makefiles

Use cp -pf instead of cp -pu. Use cp -pR instead of cp -pr.
Fixes #722479