replace \ with / in head file