Fixed permissions in build copy.  Updated generated build system to use script for generating lib/Makefile.am.  Added to static interface.
Added Makefile.am creation script.