fix leading slash for gcc