windows: fix build errors with mkdir and rm
windows: fix build errors with mkdir and rm

If unix-like versions of mkdir and rm aren't available, the build fails.
I'm not sure whether this is a common setup or not. If that is, then
this will need to be modified to support both the Windows mkdir/rm and
the Unix one.

nerves-project/nerves_uart