Update nbpcg script to include license requirements and rebuild NBPCG files with lgpl 2.1 license headers