work around mkdir and ticks per second
port getrusage to win32