Revert "fixed some makefiles so install works on cygwin"

This reverts commit bc0c3b8310c858e5c2e5feb91e88a8c20c9c4ce3.
added the sed-version of the makefiles