Fix compatibility with GNU Make >= 3.81

Multi-line single-quoted strings moved from recipe lines to variables to
guarantee backslashes are stripped properly from commands passed to the
shell.