Fix linux build

Maybe min & max are provided by the windows.h macros crap, but it fails on linux.
Merge pull request #25 from xantares/patch-1

Fix linux build