fix xdd makefile patch for compatibility