Added dynamic library handling.
Updated copyright notice year.