Update to use a standalone library for mozapps.