phatch not working in ubuntu 17.04