add LICENSE.Apache-2.0 and fix a manifest-related build issue