Updated license statements.
Add description of BUILD_MAIN option in readme.