Fixed sed invocation to work under MinGW