Strdup for linux