remove possible trigraphs, and fix make file and remove backup