Added windows compatibility
Style issue
There is no symbol 'strndup' - use WIN32 instead
Merge pull request #1 from ChristianSchroedel/master

Windows - no strndup