patch for make file to add pistone and fix def statement bug