Account for stack changes to build vs run time on heroku-18
Two packages were causing some users issues and I found out that on the heroku-16 stack those packages were available during run time, but on the heroku-18 stack they changed it so those packages were only available during build time. This change adds those packages as named dependencies.