Remove strndup

Never used, and causes problems compiling on MinGW (see #7 )
Merge pull request #8 from Anonymooseable/master

Remove strndup