mingw: Fix compilation issues

- use lowercase windows.h
- fix for mingw32 using preprocessor-unfriendly definition of CLOCKS_PER_SEC
Merge pull request #597 from stinos/mingw-compilation

mingw: Fix compilation issues