Fixed build process to handle MANIFEST.MF properly.