fixed build with mingw32

This happens when in a cmd window, and gmake complains sh