windows only change to strdup needs to be surrounded by windows compilation macros