New build script for creating packaged libraries