Bugfix for compilation on windows, fixes #245

** THIS HAS NOT BEEN TESTED **

This should fix the issue as it will return a char * instead of a string, but I cannot test it on a Windows machine for several hours. Sorry to put the testing on you guys. :(
This actually returns a const char * instead of a char *, which causes windows to still panic.