Added cleanup scripts.
Another minor compiler compatibility fix in header file.