Found a way to deal with the PACKAGE_* stuff outside of Elm.  It's undocumented.