flock only on supported platforms

see perldoc perlport
MSWin32: disable BUILD_NOISY redirects on MSWin32 with cmd.exe

also print exitcode with failed commands
C: fix make -jn test, parallel tests (Ticket #85336)

strip make jobserver-fds from MAKEFLAGS
print MAKE* ENV values with failed make command