Fixed bug in wrapper, added Windows C library

Should be good to go now.