Implement non standard strdup for windows