Compiling on windows

Compiles with MinGW, although throws warnings about
resolving _clSomeFunction@4 by linking to
_clSomeFunction.