make: avoid using "sed -i" to support MSYS sed on Windows

MSYS ships a version of sed which cannot handle in-place replacements.
demo projects: print a note when invoking the unsupported "make all"

This should be fixed some day.