2-clause BSD license, update the year to 2007.
COPYING file and some conditional compilation cleanups.