Doesn't compile on windows :-( otherwise.
Merge pull request #28 from jfclere/1.2.x

Doesn't compile on windows otherwise.