smalltalk: Make it compile with srcdir!=builddir

Don't use S but use the build directory to patch the generated
makefile.